package com.books.service.hobbies.impl;


import com.books.mapper.comment.CommentMapper;
import com.books.model.entity.pianhao.Hobbies;
import com.books.service.hobbies.HobbiesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HobbiesServiceImpl implements HobbiesService {
    @Autowired(required =false)
    private CommentMapper commentMapper;


    @Override
    public void addHobbies(Hobbies hobbies) {
        commentMapper.addHobbies (hobbies);
    }
}
